<template lang="html">
    <mt-swipe :auto="4000" v-if='swiperData'>
      <mt-swipe-item v-for="k in swiperData" :key="k.ID">
        <router-link :to="{}">
          <img :src="checkPic(k.PIC1)">
        </router-link>
      </mt-swipe-item>
    </mt-swipe>

</template>

<script>
export default {

  props:['swiperData'],
  methods:{
			checkPic:function(picurl){return this.$conf.domain + '/' + picurl;}
		  }
}
</script>

<style lang="less" scoped>

.mint-swipe {
  width: 100%;
  height:50vw;
  a,img {
    display: block;
    width: 100%;
    height:100%;
  }
}
</style>
